﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Threading;

namespace Structura.Silverlight.Infrastructure.Navigation
{
	public class IocNavigationContentLoaderAsyncResult : IAsyncResult
	{
		public IocNavigationContentLoaderAsyncResult(object asyncState)
		{
			this.AsyncState = asyncState;
			this.AsyncWaitHandle = new ManualResetEvent(true);
		}

		public object Result { get; set; }

		public object AsyncState { get; private set; }

		public WaitHandle AsyncWaitHandle { get; private set; }

		public bool CompletedSynchronously
		{
			get { return true; }
		}

		public bool IsCompleted
		{
			get { return true; }
		}
	}
}
